package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Chick kk = new Chick("坤坤",3,"黄");
        kk.eat();
        kk.layEggs();
        Dog ww = new Dog("旺旺",5,"黑");
        ww.eat();
        ww.lookHome();
        Fish dy = new Fish("大鱼",1,"金");
        dy.eat();
    }

}
